﻿using System;
using Microsoft.Research.DynamicDataDisplay.Common;
using MECopter.Quadrocopter;

namespace MECopter.Charts
{
    public class PIDPointCollection : RingArray<PIDPoint>
    {
        private const int TOTAL_POINTS = 300;

        public PIDPointCollection()
            : base(TOTAL_POINTS)
        {
        }
    }

    public class PIDPoint
    {
        public DateTime Date { get; set; }

        public float[] PIDValues { get; set; }

        public PIDPoint(float[] pidvalues, DateTime date)
        {
            this.Date = date;
            this.PIDValues = pidvalues;
        }
    }
}
